/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {StyleSheet,Dimensions,Platform} from 'react-native';

var totalWidth = Dimensions.get('window').width;
const os = Platform.OS;

const styles = StyleSheet.create({    
  info: {
    flexDirection: 'row',
    alignItems: 'center',
    backgroundColor: '#ffffff',
    borderRadius:5,
    paddingLeft: totalWidth*0.04,
    paddingTop: totalWidth*0.038,
    paddingRight: totalWidth*0.04,
    paddingBottom: totalWidth*0.043,
    
    shadowColor: '#e4e4e4',
    shadowOffset: {width: 1,  
                height: 0.5,},
    shadowOpacity: 0.8,
    shadowRadius: 5,
  },
  infoPic: {
    width: totalWidth*0.3,
    height: totalWidth*0.419,
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'space-between',
  },
  imgBorder: {
    width:totalWidth*0.145,
    height:totalWidth*0.419,
    borderWidth:Math.round(totalWidth*0.008),
    borderColor:'#f0771e',
    justifyContent:'space-between',
  },
  imgPoint: {
    width:Math.round(totalWidth*0.008),
    height:Math.round(totalWidth*0.008),
    backgroundColor:'#f0771e'
  },
  infoT: {
    marginLeft: totalWidth*0.04,
  },
  infoTitle: {
    width: totalWidth*0.55,
    fontSize: 20,
    
    color: '#000',
    lineHeight: Math.round(totalWidth*0.086),
  },
  programTypeList: {
    flexDirection: 'row',
    marginVertical: 5,
  },
  programTypeW: {
    paddingVertical: 2,
    paddingHorizontal: 5,
    borderRadius: 10,
    marginRight: 5,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#fff7f8',
  },
  programType: {
    fontSize: 12,
    
    color: '#ff4546',
    textAlign: 'center',
  },
  programL: {
    flexDirection: 'column',
    width: totalWidth*0.315,
    minHeight: totalWidth*0.3,
  },
  programPlatform: {
    flexDirection: 'row'
  },
  programone: {
    fontSize: 11,
    color: '#000',
    marginVertical: 1,
    marginRight: 2,
  },
  programones:{
    lineHeight: Math.round(totalWidth*0.045),
  },
  programPlatformCon: {
    width: totalWidth*0.2,
  },
  programPlatformText: {
    fontSize: 10,
    marginVertical: 1,
    color: '#000'
  },
  noImgBorder: {
    justifyContent: 'center',
    borderColor: '#ededed',borderWidth: 1
  },
  noImgText: {
    color: '#ededed',fontSize: 16
  }
});
module.exports=styles;